package com.guigu.service;

import com.guigu.entity.OrdersettingBean;

import java.util.List;

public interface OrdersettingService {

    /**
     * 查询预约设置
     * @return
     */
    List<OrdersettingBean> selectOrdersetting();

    /**
     * 添加预约日期设置
     * @param ordersettingBean
     */
    void addordersetting(OrdersettingBean ordersettingBean);


    /**
     * 根据日期查询预约设置
     * @param ordersettingBean
     * @return
     */
    OrdersettingBean selectOrdersettingByorderDate(OrdersettingBean ordersettingBean);


    /**
     * 修改预约设置的可预约人数
     * @param ordersettingBean
     */
    void updateOrdersetting(OrdersettingBean ordersettingBean);

    /**
     * 已经预约人数加1
     * @param ordersettingBean
     */
    void updatereservations(OrdersettingBean ordersettingBean);



}
